package com.ohs.bo.action;

import java.util.List;

import com.ohs.bll.service.RoomService;
import com.ohs.fo.action.AbstractAction;
import com.ohs.fo.form.RoomInfo;

public class SearchAction extends AbstractAction {

	private String name;

	private String age;

	private String ordNum;

	private int roomId;
	
	private String date;

	private RoomService roomService;
	
	private List<RoomInfo> listRoom;
	
	private long ordinalId;

	public String search() throws Exception {
		return "success";
	}

	public String verifyOrdinal() throws Exception {
		return "success";
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getAge() {
		return age;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public long getOrdinalId() {
		return ordinalId;
	}

	public void setOrdinalId(long ordinalId) {
		this.ordinalId = ordinalId;
	}

	public String getOrdNum() {
		return ordNum;
	}

	public void setOrdNum(String ordNum) {
		this.ordNum = ordNum;
	}

	public int getRoomId() {
		return roomId;
	}

	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}


	public RoomService getRoomService() {
		return roomService;
	}

	public void setRoomService(RoomService roomService) {
		this.roomService = roomService;
	}

	public List<RoomInfo> getListRoom() {
		return listRoom;
	}

	public void setListRoom(List<RoomInfo> listRoom) {
		this.listRoom = listRoom;
	}

}